package com.hsnn.medstgmini.trading.pur.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
/**
 * 
 *@category 退货计划
 *@author 邱磊
 *@date 2015年7月16日 上午10:26:06
 */
@Entity
@Table(name = "pur_returnplan")
public class PurReturnPlan {
	
	@Id
	@Column(name="ret_plan_id")
	private String retPlanId;
	
	@Column(name="recp_info_id")
	private String recpInfoId;
	
	@Column(name="order_code")
	private String orderCode;
	
	@Column(name="del_detail_id")
	private String delDetailId;
	
	@Column(name="hosp_code")
	private String hospCode;
	
	@Column(name="hosp_name")
	private String hospName;
	
	@Column(name="hosp_spel_code")
	private String hospSpelCode;
	
	@Column(name="hosp_status")
	private Integer hospStatus;
	
	@Column(name="hosp_area_id")
	private String hospAreaId;
	
	@Column(name="hosp_area_name")
	private String hospAreaName;
	
	@Column(name="hosp_ar_shortname")
	private String hospArShortname;
	
	@Column(name="hosp_ar_fullname")
	private String hospArFullname;
	
	@Column(name="user_id")
	private String userId;
	
	@Column(name="goods_code")
	private String goodsCode;
	
	@Column(name="del_comp_code")
	private String delCompCode;
	
	@Column(name="del_comp_name")
	private String delCompName;
	
	@Column(name="del_comp_name_spel")
	private String delCompNameSpel;
	
	@Column(name="del_comp_status")
	private Integer delCompStatus;
	
	@Column(name="approve_code")
	private String approveCode;
	
	@Column(name="pro_price")
	private Double proPrice;
	
	@Column(name="ret_count")
	private Integer retCount;
	
	@Column(name="ret_reason")
	private String retReason;
	
	@Column(name="join_ret_time")
	private Date joinRetTime;
	
	@Column(name="join_ret_user")
	private String joinRetUser;
	
	@Column(name="upd_time")
	private Date updTime;
	
	@Column(name="upd_user")
	private String updUser;
	
	@Transient
	private Integer returnCount;

	public String getRetPlanId() {
		return retPlanId;
	}

	public void setRetPlanId(String retPlanId) {
		this.retPlanId = retPlanId;
	}

	public String getRecpInfoId() {
		return recpInfoId;
	}

	public void setRecpInfoId(String recpInfoId) {
		this.recpInfoId = recpInfoId;
	}

	public String getOrderCode() {
		return orderCode;
	}

	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}

	public String getDelDetailId() {
		return delDetailId;
	}

	public void setDelDetailId(String delDetailId) {
		this.delDetailId = delDetailId;
	}

	public String getHospCode() {
		return hospCode;
	}

	public void setHospCode(String hospCode) {
		this.hospCode = hospCode;
	}

	public String getHospName() {
		return hospName;
	}

	public void setHospName(String hospName) {
		this.hospName = hospName;
	}

	public String getHospSpelCode() {
		return hospSpelCode;
	}

	public void setHospSpelCode(String hospSpelCode) {
		this.hospSpelCode = hospSpelCode;
	}


	public String getHospAreaId() {
		return hospAreaId;
	}

	public void setHospAreaId(String hospAreaId) {
		this.hospAreaId = hospAreaId;
	}

	public String getHospAreaName() {
		return hospAreaName;
	}

	public void setHospAreaName(String hospAreaName) {
		this.hospAreaName = hospAreaName;
	}

	public String getHospArShortname() {
		return hospArShortname;
	}

	public void setHospArShortname(String hospArShortname) {
		this.hospArShortname = hospArShortname;
	}

	public String getHospArFullname() {
		return hospArFullname;
	}

	public void setHospArFullname(String hospArFullname) {
		this.hospArFullname = hospArFullname;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getGoodsCode() {
		return goodsCode;
	}

	public void setGoodsCode(String goodsCode) {
		this.goodsCode = goodsCode;
	}

	public String getDelCompCode() {
		return delCompCode;
	}

	public void setDelCompCode(String delCompCode) {
		this.delCompCode = delCompCode;
	}

	public String getDelCompName() {
		return delCompName;
	}

	public void setDelCompName(String delCompName) {
		this.delCompName = delCompName;
	}

	public String getDelCompNameSpel() {
		return delCompNameSpel;
	}

	public void setDelCompNameSpel(String delCompNameSpel) {
		this.delCompNameSpel = delCompNameSpel;
	}


	public String getApproveCode() {
		return approveCode;
	}

	public void setApproveCode(String approveCode) {
		this.approveCode = approveCode;
	}


	public String getRetReason() {
		return retReason;
	}

	public void setRetReason(String retReason) {
		this.retReason = retReason;
	}

	public String getJoinRetUser() {
		return joinRetUser;
	}

	public void setJoinRetUser(String joinRetUser) {
		this.joinRetUser = joinRetUser;
	}

	public String getUpdUser() {
		return updUser;
	}

	public void setUpdUser(String updUser) {
		this.updUser = updUser;
	}

	public Integer getHospStatus() {
		return hospStatus;
	}

	public void setHospStatus(Integer hospStatus) {
		this.hospStatus = hospStatus;
	}

	public Integer getDelCompStatus() {
		return delCompStatus;
	}

	public void setDelCompStatus(Integer delCompStatus) {
		this.delCompStatus = delCompStatus;
	}

	public Double getProPrice() {
		return proPrice;
	}

	public void setProPrice(Double proPrice) {
		this.proPrice = proPrice;
	}

	public Integer getRetCount() {
		return retCount;
	}

	public void setRetCount(Integer retCount) {
		this.retCount = retCount;
	}

	public Date getJoinRetTime() {
		return joinRetTime;
	}

	public void setJoinRetTime(Date joinRetTime) {
		this.joinRetTime = joinRetTime;
	}

	public Date getUpdTime() {
		return updTime;
	}

	public void setUpdTime(Date updTime) {
		this.updTime = updTime;
	}

	public Integer getReturnCount() {
		return returnCount;
	}

	public void setReturnCount(Integer returnCount) {
		this.returnCount = returnCount;
	}

	
}
